package com.jabex.persistence.model;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.util.Date;

/**
 * Created by jaugusto on 4/09/14.
 */
@Entity
@Table(name = "ADA_INVOICE")
public class Invoice extends Identity {
	@Column(name = "NAME", length = 100, unique = false, nullable = false)
	private String name;
	@Column(name = "SERIAL", length = 50, unique = false, nullable = true)
	private String serial;
	@Column(name = "COMPANY", length = 100, unique = false, nullable = false)
	private String company;
	@Column(name = "STATE", length = 50, unique = false, nullable = false)
	private String state;
	@Column(name = "CREATE_DATE", unique = false, nullable = false)
	private Date createDate;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getSerial() {
		return serial;
	}

	public void setSerial(String serial) {
		this.serial = serial;
	}

	public String getCompany() {
		return company;
	}

	public void setCompany(String company) {
		this.company = company;
	}

	public String getState() {
		return state;
	}

	public void setState(String state) {
		this.state = state;
	}

	public Date getCreateDate() {
		return createDate;
	}

	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}
}
